package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Value;

@TableName("t_book")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Book {
    @TableId(value="book_id",type = IdType.AUTO )
    private Integer id ;
    @TableField(value = "book_name")
    private String name;
    private String author;
    private Double price;
   // @TableLogic 逻辑删除
    //private Integer delects;
}
